Revert "GtkEntryCompletion: fix warning"
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Mar 2014 10:50:25 +0000 (05:50 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Mar 2014 11:03:18 +0000 (06:03 -0500)
This reverts commit 2f0c610c35215229e53aac4c37fdea49e25f3742.

gtk/gtkentrycompletion.c

index 3318144fb51893139f712cae4b1793bae1271158..6305721eb605aa49a530cdf0b86cf63a3af61764 100644 (file)
@@ -833,7 +833,7 @@ gtk_entry_completion_clear_text_column_renderer (GtkEntryCompletion *completion)
       GtkCellArea *area;
 
       area = gtk_entry_completion_get_area (GTK_CELL_LAYOUT (completion));
-      gtk_cell_layout_clear (GTK_CELL_LAYOUT (area));
+      gtk_cell_layout_clear (area);
 
       completion->priv->text_column = -1;
       g_object_notify (G_OBJECT (completion), "text_column");